@extends ("main")
@section ('title')
Login
@endsection

@section ('content')
<div class="frm_login">
{{ Form::open(array('route' => 'singin','id' => 'form_login')) }}
	{{ $errors->first('username') }}
	{{ $errors->first('password') }}
	<?php if(isset($error1)) print_r($error1); ?>
	{{ Form::text('username', Input::old('username'),  array('placeholder'=>'Username/Email'))  }}
	{{ Form::password('password', array('placeholder'=>'password'))  }}
	{{ Form::submit('login',array('class' => 'btn btn_login' )); }}
	{{ HTML::linkRoute('loginFacebook', 'login with Facebook',array(), array('class' => 'loginfb')) }}
{{ Form::close() }}
</div>
@endsection